# -*- sh -*-

#This is a UNIX-only makefile.  For other systems, get a makefile from
#src/mkfiles/

@SET_MAKE@

all:
	cd src; $(MAKE) all
elf:
	cd src; $(MAKE) elf
	@echo Use make install-elf to install it.
demos:
	cd demo; $(MAKE)
clean:
	/bin/rm -f *~
	cd src; $(MAKE) clean
	cd demo; $(MAKE) clean
install:
	cd src; $(MAKE) install
install-elf:
	cd src; $(MAKE) install-elf
	@echo ""
	@echo "Although not required, consider doing 'make install-links' to extra links"
	@echo "You will also have to run ldconfig."
	@echo ""
install-links:
	cd src; $(MAKE) install-links
	@echo ""
	@echo "Make sure that you remember to run ldconfig to complete the installation."
	@echo ""
#
distclean:
	/bin/rm -f *~ Makefile config.status config.log config.cache files.pck
	cd src; $(MAKE) distclean
	cd demo; $(MAKE) distclean
#

